package com.maimao.model.es;

import com.sun.corba.se.spi.ior.ObjectKey;

import java.util.function.Function;

/**
 * @author MaoLin Wang
 * @date 2021/4/28 上午10:20
 */
public abstract class EsSearchConvert {

    public abstract Object apply(Object value);

    public static final String METHOD_NAME = "apply";

    public static final class DefaultEsSearchConvert extends EsSearchConvert {

        @Override
        public Object apply(Object value) {
            return value;
        }
    }
}
